3.1.18 \(\int \frac {(A+B x^2) (b x^2+c x^4)^2}{x^6} \, dx\)

Optimal. Leaf size=48 \[ -\frac {A b^2}{x}+\frac {1}{3} c x^3 (A c+2 b B)+b x (2 A c+b B)+\frac {1}{5} B c^2 x^5 \]

________________________________________________________________________________________

Rubi [A]  time = 0.04, antiderivative size = 48, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.083, Rules used = {1584, 448} \begin {gather*} -\frac {A b^2}{x}+\frac {1}{3} c x^3 (A c+2 b B)+b x (2 A c+b B)+\frac {1}{5} B c^2 x^5 \end {gather*}

Antiderivative was successfully verified.

[In]

Int[((A + B*x^2)*(b*x^2 + c*x^4)^2)/x^6,x]

[Out]

-((A*b^2)/x) + b*(b*B + 2*A*c)*x + (c*(2*b*B + A*c)*x^3)/3 + (B*c^2*x^5)/5

Rule 448

Int[((e_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_.)*((c_) + (d_.)*(x_)^(n_))^(q_.), x_Symbol] :> Int[ExpandI
ntegrand[(e*x)^m*(a + b*x^n)^p*(c + d*x^n)^q, x], x] /; FreeQ[{a, b, c, d, e, m, n}, x] && NeQ[b*c - a*d, 0] &
& IGtQ[p, 0] && IGtQ[q, 0]

Rule 1584

Int[(u_.)*(x_)^(m_.)*((a_.)*(x_)^(p_.) + (b_.)*(x_)^(q_.))^(n_.), x_Symbol] :> Int[u*x^(m + n*p)*(a + b*x^(q -
 p))^n, x] /; FreeQ[{a, b, m, p, q}, x] && IntegerQ[n] && PosQ[q - p]

Rubi steps

\begin {align*} \int \frac {\left (A+B x^2\right ) \left (b x^2+c x^4\right )^2}{x^6} \, dx &=\int \frac {\left (A+B x^2\right ) \left (b+c x^2\right )^2}{x^2} \, dx\\ &=\int \left (b (b B+2 A c)+\frac {A b^2}{x^2}+c (2 b B+A c) x^2+B c^2 x^4\right ) \, dx\\ &=-\frac {A b^2}{x}+b (b B+2 A c) x+\frac {1}{3} c (2 b B+A c) x^3+\frac {1}{5} B c^2 x^5\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.04, size = 48, normalized size = 1.00 \begin {gather*} -\frac {A b^2}{x}+\frac {1}{3} c x^3 (A c+2 b B)+b x (2 A c+b B)+\frac {1}{5} B c^2 x^5 \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[((A + B*x^2)*(b*x^2 + c*x^4)^2)/x^6,x]

[Out]

-((A*b^2)/x) + b*(b*B + 2*A*c)*x + (c*(2*b*B + A*c)*x^3)/3 + (B*c^2*x^5)/5

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (A+B x^2\right ) \left (b x^2+c x^4\right )^2}{x^6} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[((A + B*x^2)*(b*x^2 + c*x^4)^2)/x^6,x]

[Out]

IntegrateAlgebraic[((A + B*x^2)*(b*x^2 + c*x^4)^2)/x^6, x]

________________________________________________________________________________________

fricas [A]  time = 0.38, size = 53, normalized size = 1.10 \begin {gather*} \frac {3 \, B c^{2} x^{6} + 5 \, {\left (2 \, B b c + A c^{2}\right )} x^{4} - 15 \, A b^{2} + 15 \, {\left (B b^{2} + 2 \, A b c\right )} x^{2}}{15 \, x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x^2+A)*(c*x^4+b*x^2)^2/x^6,x, algorithm="fricas")

[Out]

1/15*(3*B*c^2*x^6 + 5*(2*B*b*c + A*c^2)*x^4 - 15*A*b^2 + 15*(B*b^2 + 2*A*b*c)*x^2)/x

________________________________________________________________________________________

giac [A]  time = 0.15, size = 48, normalized size = 1.00 \begin {gather*} \frac {1}{5} \, B c^{2} x^{5} + \frac {2}{3} \, B b c x^{3} + \frac {1}{3} \, A c^{2} x^{3} + B b^{2} x + 2 \, A b c x - \frac {A b^{2}}{x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x^2+A)*(c*x^4+b*x^2)^2/x^6,x, algorithm="giac")

[Out]

1/5*B*c^2*x^5 + 2/3*B*b*c*x^3 + 1/3*A*c^2*x^3 + B*b^2*x + 2*A*b*c*x - A*b^2/x

________________________________________________________________________________________

maple [A]  time = 0.05, size = 49, normalized size = 1.02 \begin {gather*} \frac {B \,c^{2} x^{5}}{5}+\frac {A \,c^{2} x^{3}}{3}+\frac {2 B b c \,x^{3}}{3}+2 A b c x +B \,b^{2} x -\frac {A \,b^{2}}{x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((B*x^2+A)*(c*x^4+b*x^2)^2/x^6,x)

[Out]

1/5*B*c^2*x^5+1/3*A*x^3*c^2+2/3*B*x^3*b*c+2*A*b*c*x+B*b^2*x-A*b^2/x

________________________________________________________________________________________

maxima [A]  time = 1.29, size = 48, normalized size = 1.00 \begin {gather*} \frac {1}{5} \, B c^{2} x^{5} + \frac {1}{3} \, {\left (2 \, B b c + A c^{2}\right )} x^{3} - \frac {A b^{2}}{x} + {\left (B b^{2} + 2 \, A b c\right )} x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x^2+A)*(c*x^4+b*x^2)^2/x^6,x, algorithm="maxima")

[Out]

1/5*B*c^2*x^5 + 1/3*(2*B*b*c + A*c^2)*x^3 - A*b^2/x + (B*b^2 + 2*A*b*c)*x

________________________________________________________________________________________

mupad [B]  time = 0.05, size = 48, normalized size = 1.00 \begin {gather*} x^3\,\left (\frac {A\,c^2}{3}+\frac {2\,B\,b\,c}{3}\right )+x\,\left (B\,b^2+2\,A\,c\,b\right )-\frac {A\,b^2}{x}+\frac {B\,c^2\,x^5}{5} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(((A + B*x^2)*(b*x^2 + c*x^4)^2)/x^6,x)

[Out]

x^3*((A*c^2)/3 + (2*B*b*c)/3) + x*(B*b^2 + 2*A*b*c) - (A*b^2)/x + (B*c^2*x^5)/5

________________________________________________________________________________________

sympy [A]  time = 0.14, size = 48, normalized size = 1.00 \begin {gather*} - \frac {A b^{2}}{x} + \frac {B c^{2} x^{5}}{5} + x^{3} \left (\frac {A c^{2}}{3} + \frac {2 B b c}{3}\right ) + x \left (2 A b c + B b^{2}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x**2+A)*(c*x**4+b*x**2)**2/x**6,x)

[Out]

-A*b**2/x + B*c**2*x**5/5 + x**3*(A*c**2/3 + 2*B*b*c/3) + x*(2*A*b*c + B*b**2)

________________________________________________________________________________________